package de.jmda.gen.java.impl;

import de.jmda.gen.impl.DefaultGenerator;
import de.jmda.gen.java.JavaDocGenerator;

public class DefaultJavaDocGenerator
		extends DefaultGenerator
		implements JavaDocGenerator
{
	public DefaultJavaDocGenerator(String... strings)
	{
		super();
		
		StringBuffer input = new StringBuffer("/**" + System.lineSeparator());
		
		for (String string : strings)
		{
			input.append(" * " + string + System.lineSeparator());
		}
		
		super.setOutput(input.append(" */"));
	}
}